import 'package:flutter/material.dart';
import 'package:get/get.dart';

class Test_Listview extends StatelessWidget {
  const Test_Listview({super.key});
  @override
  StatelessElement createElement() {

    print('JtTag:Test_Listview:createElement');
    return super.createElement();
  }
  @override
  Widget build(BuildContext context) {
    print('JtTag:Test_Listview:build');
    return Scaffold(
        appBar: AppBar(title: Text('Test_Listview')),
        body: ListView(
          shrinkWrap: true,
          padding: const EdgeInsets.all(20.0),
          children:  <Widget>[
            const Text('I\'m dedicating every day to you'),
            const Text('Domestic life was never quite my style'),
            const Text('When you smile, you knock me out, I fall apart'),
           TextButton(onPressed: (){
             Get.toNamed('/ATest6Page/test_listview/Test_Listview');
           }, child:  const Text('And I thought I was so smart'))
          ],
        ));
  }
}
